package com.fh.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @table:mall_user
 * @Author  makai
 * @Date 2020-07-21 
 */

public class User  implements Serializable {


	private Integer userId;//用户ID

	private String userName;//用户名

	private String userPassword;//用户密码

	private String userSalt;//md5盐

	private String userRealName;//名称

	private Integer userSex;//性别

	private Integer userAge;//年龄

	private String userPhone;//电话号

	private String userEmail;//email

	private Integer userArea1;//一级地区

	private Integer userArea2;//耳机地区

	private Integer userArea3;//三级地区
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private java.util.Date userLoginTime;//登录时间

	private Integer userLoginCount;//登陆次数

	private Integer userIsLock;//是否锁定 0否 1是

	private Integer userLoginErrorCount;//登录错误次数
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
	private java.util.Date userLoginErrorDate;//登录错误日期

	private Integer isDel;//逻辑删除 1删了  2 没删
	@DateTimeFormat(pattern = "yyyy_MM_dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
	private java.util.Date createDate;//创建时间
	@DateTimeFormat(pattern = "yyyy_MM_dd")
	@JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
	private java.util.Date updateDate;//修改时间

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserSalt() {
		return this.userSalt;
	}

	public void setUserSalt(String userSalt) {
		this.userSalt = userSalt;
	}

	public String getUserRealName() {
		return this.userRealName;
	}

	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}

	public Integer getUserSex() {
		return this.userSex;
	}

	public void setUserSex(Integer userSex) {
		this.userSex = userSex;
	}

	public Integer getUserAge() {
		return this.userAge;
	}

	public void setUserAge(Integer userAge) {
		this.userAge = userAge;
	}

	public String getUserPhone() {
		return this.userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public Integer getUserArea1() {
		return this.userArea1;
	}

	public void setUserArea1(Integer userArea1) {
		this.userArea1 = userArea1;
	}

	public Integer getUserArea2() {
		return this.userArea2;
	}

	public void setUserArea2(Integer userArea2) {
		this.userArea2 = userArea2;
	}

	public Integer getUserArea3() {
		return this.userArea3;
	}

	public void setUserArea3(Integer userArea3) {
		this.userArea3 = userArea3;
	}

	public java.util.Date getUserLoginTime() {
		return this.userLoginTime;
	}

	public void setUserLoginTime(java.util.Date userLoginTime) {
		this.userLoginTime = userLoginTime;
	}

	public Integer getUserLoginCount() {
		return this.userLoginCount;
	}

	public void setUserLoginCount(Integer userLoginCount) {
		this.userLoginCount = userLoginCount;
	}

	public Integer getUserIsLock() {
		return this.userIsLock;
	}

	public void setUserIsLock(Integer userIsLock) {
		this.userIsLock = userIsLock;
	}

	public Integer getUserLoginErrorCount() {
		return this.userLoginErrorCount;
	}

	public void setUserLoginErrorCount(Integer userLoginErrorCount) {
		this.userLoginErrorCount = userLoginErrorCount;
	}

	public java.util.Date getUserLoginErrorDate() {
		return this.userLoginErrorDate;
	}

	public void setUserLoginErrorDate(java.util.Date userLoginErrorDate) {
		this.userLoginErrorDate = userLoginErrorDate;
	}

	public Integer getIsDel() {
		return this.isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	public java.util.Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(java.util.Date updateDate) {
		this.updateDate = updateDate;
	}

}
